package com.cskaoyan.service;

import com.cskaoyan.bean.Role;
import com.cskaoyan.bean.basebean.BaseParam;
import com.cskaoyan.bean.sysmanage.UpdateRoleBo;
import com.cskaoyan.bean.zhao_order_bean.BasePageData;

public interface RoleService {
    BasePageData queryRoleList(String name, BaseParam baseParam);

    Role selectByName(String name);

    Role addRole(String name, String desc);

    boolean updateRole(UpdateRoleBo updateRoleBO);

    boolean deleteRoleById(Integer id);
}
